package com.zwj.batch;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 张文接
 * @version 1.0
 * @createTime 2023-05-21 14:19:00
 */
@SpringBootApplication  //SpringBoot启动类
@EnableBatchProcessing  //开启Batch
@MapperScan(value = "com.zwj.batch.mapper")
public class BatchApplication {
    public static void main(String[] args) {
        SpringApplication.run(BatchApplication.class, args);
    }
}
